<?php
function smarty_insert_getheader($param, &$smarty) {
    if ($param['logo'] !='') {
	    $logo_str='<img src="'.$param['logo'].'" border="0" height="51" width="51"/>';
	} else {
		$logo_str='<img src="../images/9wee_logo.gif" border="0" alt="'.$param['sitename'].'" />';
	}
	$string='<div class="header_logo"><a href="http://'.$param['domain'].'/">'.$logo_str.'</a></div>
				<div class="header_about">
                	<ul>
                    	<li class="logo_name">'.$param['site_name'].'</li>
                        <li>http://'.$param['domain'].'</li>
                    </ul>
                </div>';
	return $string;
 }
?>
